let baseUrl = ''
let websocketUrl = ''
/*#ifdef H5*/
baseUrl = window.baseUrl || ""
const protocol = window.location.protocol;
const wsUrl = `${protocol === 'https:' ? 'wss://' : 'ws://'}${window.location.host}/WS/Get`;
websocketUrl = window.websocketUrl || wsUrl
/*#endif*/
/*#ifdef APP-PLUS*/
baseUrl = "http://192.168.5.202:80"
websocketUrl = "ws://192.168.5.202/WS/Get"
/*#endif*/


console.log('baseUrl', baseUrl)
console.log('websocketUrl', websocketUrl)
const config = {
	baseUrl,
	websocketUrl,
};

export default config;